@charset "UTF-8";
@import url("../common/common.css");
@import url("../common/scrollbar_dark.css");
@import url("../common/table_dark.css");

.main-container {
  width: 100%;
  height: calc(100% - 66px);
  padding: 16px 36px;

  .main-header {
    width: 100%;
    height: 50px;
    background-color: rgba($color: #1a2f42, $alpha: 0.5);
    line-height: 50px;
    padding-left: 24px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
  }

  .main-content {
    width: 100%;
    height: calc(100% - 66px);
    margin-top: 16px;
    display: flex;

    .left-content {
      width: 480px;
      flex-shrink: 0;

      .img-content {
        display: flex;
        height: 226px;

        .main-img {
          width: 394px;
          height: 226px;
          flex-shrink: 0;

          img {
            width: 100%;
            height: 100%;
          }
        }

        .sub-img {
          margin-left: 12px;
          flex: 1;
          display: flex;
          flex-direction: column;

          img {
            width: 100%;
            flex: 1;
            margin-bottom: 8px;

            &:last-child {
              margin-bottom: 0;
            }
          }
        }
      }

      .table-content {
        margin-top: 12px;
        width: 480px;

        .title-wrap {
          width: 100%;
          height: 39px;
          line-height: 39px;
          // background-color: rgba($color: #0096ff, $alpha: 0.3);
          background: url('/images/equipment/eq_title.png');
          background-size: 100% 100%;
          color: #c9e5ff;
          display: flex;
          margin-bottom: 8px;
        }

        .name {
          display: inline-block;
          width: 300px;
          flex-shrink: 0;
          padding-left: 30px;
        }

        .value {
          display: inline-block;
          flex: 1;
          padding-right: 30px;
          text-align: right;
        }

        .info-list {
          width: 464px;
          margin-left: 8px;
          max-height: 450px;
          overflow-y: auto;

          li {
            width: 100%;
            height: 39px;
            line-height: 39px;
            margin-bottom: 7px;
            background-color: rgba($color: #0096ff, $alpha: 0.1);
            color: #ffffff;
            display: flex;
          }
        }
      }
    }

    .center-content {
      flex: 1;
      margin-left: 24px;

      .num-content {
        display: flex;

        .record-wrap {
          width: 210px;
          height: 111px;
          margin-right: 12px;
          background: url('/images/125_30.png');
          display: flex;
          align-items: center;
          flex-wrap: wrap;
          .title {
            width: 100%;
            font-size: 16px;
            color: #ffffff;
            text-align: center;
            position: relative;
            top: 14px;
          }
          img {
            margin-left: 24px;
          }

          .num {
            margin-left: 24px;
            font-size: 30px;
            font-weight: bold;
            color: #8bfcff;
          }
        }
      }

      .record-content {
        margin-top: 24px;
        background-color: rgba($color: #1d3449, $alpha: 0.5);
        padding: 16px 24px;

        .record-title {
          height: 20px;
          line-height: 20px;
          font-weight: bold;
          color: #ffffff;
        }

        .record-list {
          margin-top: 24px;
          max-height: 532px;
          overflow-y: auto;

          .timeline-item {
            .time {
              color: #6a7285;
            }
            .delete-time {
              margin-right: 16px;
              .aidicon-delete {
                position: relative;
                top: 2px;
                margin-right: 4px;
              }
            }

            .info-detail {
              display: flex;
              line-height: 24px;

              .aidicon {
                color: #ff6600;
                position: relative;
                top: 4px;
              }

              .text-label {
                width: 70px;
                display: inline-block;
                flex-shrink: 0;
                color: #b7c4cf;
                margin: 0 4px;
              }

              .text-info {
                display: inline-block;
                flex: 1;
                overflow-x: hidden;
                color: #ffffff;
              }
            }
          }
        }
      }
    }

    .right-content {
      flex: 1;
      margin-left: 24px;

      .info-content {
        background-color: rgba($color: #1d3449, $alpha: 0.5);
        padding: 16px 24px;
        height: calc(100% - 38px);
        overflow-y: auto;
      }

      .maintain-title {
        height: 20px;
        line-height: 20px;
        font-weight: bold;
        color: #ffffff;
      }

      .maintain-table {
        margin-bottom: 24px;

        table {
          margin-top: 16px;
          border: 1px solid #29445c;

          tr {
            border-bottom: 1px solid #29445c;
          }

          tr td {
            padding: 8px;
          }

          tr td {
            color: #ffffff;
            font-size: 16px;
            border-right: 1px solid #29445c;

            &:first-child {
              width: 120px;
              background-color: #01223e;
              text-align: left;
            }
            .delete-td {
              width: 80px;
              border-right: none;
              text-align: right;
              cursor: pointer;
            }
          }
        }
      }

      .maintain-info {
        .info-text {
          margin-top: 24px;
          border: 1px solid #29445c;
          padding: 16px;
          color: #b7c4cf;
          line-height: 22px;
        }
      }
    }

    .info-header {
      height: 22px;
      line-height: 22px;
      color: #ffffff;
      font-size: 16px;
      font-weight: bold;

      &::before {
        content: '';
        display: inline-block;
        width: 3px;
        height: 21px;
        background-color: #ffdd56;
        margin-right: 5px;
        position: relative;
        top: 4px;
      }
    }

    .info-content {
      margin-top: 16px;
    }
  }
}

.formDialog {
  &.idlg-outer {
    background-color: #1a2f42;
  }

  .idlg-header {
    background-color: #1a2f42;
    padding: 12px 16px;

    .idlg-title {
      color: #ffffff;
      font-size: 16px;
      font-weight: normal;
    }
  }

  .idlg-main {
    background-color: #12212f;
    overflow-y: auto;
    padding-bottom: 0 !important;
  }

  .idlg-footer {
    background-color: #1a2f42;
    margin-top: 20px !important;
    padding-bottom: 3px;
  }

  .form-horizon {
    border: none;
    padding-bottom: 0 !important;
  }

  .form-label {
    color: #b7c4cf !important;
  }

  .wrap-title {
    color: #ffffff;
  }

  .form-wrap {
    background-color: #29445c;
    border-radius: 3px;
    padding: 8px 16px 0 16px;
    margin: 16px 0;
  }

  .radio-wrap {
    display: flex;
    align-items: center;
    position: relative;
    top: 8px;
  }
}

.select2-dropdown {
  z-index: 99999 !important;
}

.photoUpload {
  float: left;
  width: 104px;
  height: 104px;
  text-align: center;
  border-radius: 3px;
  border: 1px dashed #CFD6E4;
  background-color: #fff;
  padding: 8px;
  margin-top: 10px;
  cursor: pointer;
}

.photoUpload:hover,
.photoUpload:hover i,
.photoUpload:hover .photoUpload-info {
  color: #2985F7;
}

.photoUpload i {
  color: #A2AABB;
  font-size: 20px;
  margin-top: 20px;
  margin-bottom: 6px;
}

.photoUpload .photoUpload-info {
  color: #A2AABB;
  font-size: 14px;
}

.photoUpload-ul {
  float: left;
  list-style: none;
}

.photoUpload-li {
  float: left;
  position: relative;
  margin-left: 20px;
  width: 104px;
  height: 104px;
  padding: 8px;
  margin-top: 10px;
  border-radius: 3px;
  border: 1px dashed #CFD6E4;
}

.photoUpload-li-img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.photoUpload-loading-wrap {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 11;
  overflow: hidden;
}

.photoUpload-li img {
  position: relative;
  z-index: 9;
  width: 100%;
  border-radius: 3px;
  background-color: #fff;
}

#photoUpload-loading {
  position: absolute;
  width: 208px;
  height: 208px;
  top: -52px;
  left: -52px;
}

.photoUpload-delete {
  display: none;
  position: absolute;
  font-size: 16px;
  top: -5px;
  right: -5px;
  z-index: 12;
  cursor: pointer;
}

.reUpload {
  display: none;
  position: absolute;
  font-size: 14px;
  bottom: 0px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  z-index: 12;
  cursor: pointer;
  background: rgba(14, 16, 17, 0.4);
}

.photoUpload-li.photoUpload-active .photoUpload-delete,
.photoUpload-li.photoUpload-active .reUpload {
  display: block;
}

.del-btn1{
  cursor: pointer;
}

.del-btn2{
  cursor: pointer;
}